import Vue from 'vue'
import Router from 'vue-router'
import Bill from './views/bill.vue'
import Asset from './views/asset.vue'
import Setting from './views/setting.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/asset',
      name: 'Asset',
      meta: {
        now: '资产'
      },
      component: Asset
    },
    {
      path: '/bill',
      name: 'Bill',
      meta: {
        now: '账单'
      },
      component: Bill
    },
    {
      path: '/setting',
      name: 'Setting',
      meta: {
        now: '设置'
      },
      component: Setting
    }
  ]
})
